// 引入vue
import Vue  from 'vue'
import Vuex from 'vuex'
import app  from './modules/app'
import permission  from './modules/permission'
import user  from './modules/user'
import settings  from './modules/settings'
import getters  from './getters'


// 引入vuex
 
// 应用vue插件
Vue.use(Vuex)
 

// 创建store并导出
const store = new Vuex.Store({
    modules: {
        app,
        user,
        permission,
        settings
      },
      getters
})
 
 
export default store